
def tx(a):
    data1 = {}
    for i in a:
        data1[i] = a.count(i)
    return data1





data = [1,23,4,4,5,6,7,8,9,10,3,3,54,6,7,8,9,]
los = tx(data)
print(los)